package com.example.govdata.dto;

import lombok.Data;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;
import java.util.List;

@Data
public class Group implements Serializable {
    private String groupName;
    private String groupId;
    /**
     * A: 组队发起未成立
     * N: 组队成立密钥未生成
     * S: 已申请密钥
     * Y: 密钥已生成
     * D: 数据已录入
     * E: 机构申请计算
     * F: 机构已计算
     */
    private String status;
    private String memberNum;
    private String date;
    private String remark;
    private String createUser;
    private List<User> memberList;
    // Paillier 密钥，一共有7个
    private BigInteger p;
    private BigInteger q;
    private BigInteger lambda;
    private BigInteger n;
    private BigInteger nsquare;
    private BigInteger g;
    private int bitLength;
}
